toRgba
Converts frame to tightly packed RGBA, one byte per component, no row padding.
Return
width * height * 4 bytes.
Throws
when the pixel format is not one this converter handles.
when the frame lives in hardware memory.
Converts frame to tightly packed RGBA, one byte per component, no row padding.
width * height * 4 bytes.
when the pixel format is not one this converter handles.
when the frame lives in hardware memory.